export interface Project {
  id: string;
  name: string;
  createdAt?: string; // 或 Date
  updatedAt?: string; // 或 Date
}

export interface RepositorySummary {
  id: string;
  name: string;
}

export interface AddRepositoryRequest {
  repositoryId: string;
}

export interface ProjectSummary {
  id: string;
  name: string;
  commitCount: number;
  totalChanges: number;
  allCommitCount: number;
  allTotalChanges: number;
}

export interface MonthlyStat {
  month: string;
  commitCount: number;
  totalChanges: number;
}

export interface AuthorStats {
  name: string;
  role: string;
  department: string;
  commitCount: number;
  totalChanges: number;
  allCommitCount: number;
  allTotalChanges: number;
  minDate: string;
  maxDate: string;
}
